# -*- coding: utf-8 -*-
# Copyright (c) 2022 Robert Bosch GmbH and Microsoft Corporation
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# SPDX-License-Identifier: Apache-2.0

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: sdv/databroker/v1/collector.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from sdv.proto import types_pb2 as sdv_dot_databroker_dot_v1_dot_types__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!sdv/databroker/v1/collector.proto\x12\x11sdv.databroker.v1\x1a\x1dsdv/databroker/v1/types.proto\"\xba\x01\n\x17UpdateDatapointsRequest\x12N\n\ndatapoints\x18\x01 \x03(\x0b\x32:.sdv.databroker.v1.UpdateDatapointsRequest.DatapointsEntry\x1aO\n\x0f\x44\x61tapointsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.sdv.databroker.v1.Datapoint:\x02\x38\x01\"\xaf\x01\n\x15UpdateDatapointsReply\x12\x44\n\x06\x65rrors\x18\x01 \x03(\x0b\x32\x34.sdv.databroker.v1.UpdateDatapointsReply.ErrorsEntry\x1aP\n\x0b\x45rrorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x30\n\x05value\x18\x02 \x01(\x0e\x32!.sdv.databroker.v1.DatapointError:\x02\x38\x01\"\xba\x01\n\x17StreamDatapointsRequest\x12N\n\ndatapoints\x18\x01 \x03(\x0b\x32:.sdv.databroker.v1.StreamDatapointsRequest.DatapointsEntry\x1aO\n\x0f\x44\x61tapointsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.sdv.databroker.v1.Datapoint:\x02\x38\x01\"\xaf\x01\n\x15StreamDatapointsReply\x12\x44\n\x06\x65rrors\x18\x01 \x03(\x0b\x32\x34.sdv.databroker.v1.StreamDatapointsReply.ErrorsEntry\x1aP\n\x0b\x45rrorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x30\n\x05value\x18\x02 \x01(\x0e\x32!.sdv.databroker.v1.DatapointError:\x02\x38\x01\"R\n\x19RegisterDatapointsRequest\x12\x35\n\x04list\x18\x01 \x03(\x0b\x32\'.sdv.databroker.v1.RegistrationMetadata\"\x9d\x01\n\x14RegistrationMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\tdata_type\x18\x02 \x01(\x0e\x32\x1b.sdv.databroker.v1.DataType\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x32\n\x0b\x63hange_type\x18\x04 \x01(\x0e\x32\x1d.sdv.databroker.v1.ChangeType\"\x93\x01\n\x17RegisterDatapointsReply\x12H\n\x07results\x18\x01 \x03(\x0b\x32\x37.sdv.databroker.v1.RegisterDatapointsReply.ResultsEntry\x1a.\n\x0cResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x32\xd3\x02\n\tCollector\x12n\n\x12RegisterDatapoints\x12,.sdv.databroker.v1.RegisterDatapointsRequest\x1a*.sdv.databroker.v1.RegisterDatapointsReply\x12h\n\x10UpdateDatapoints\x12*.sdv.databroker.v1.UpdateDatapointsRequest\x1a(.sdv.databroker.v1.UpdateDatapointsReply\x12l\n\x10StreamDatapoints\x12*.sdv.databroker.v1.StreamDatapointsRequest\x1a(.sdv.databroker.v1.StreamDatapointsReply(\x01\x30\x01\x62\x06proto3')



_UPDATEDATAPOINTSREQUEST = DESCRIPTOR.message_types_by_name['UpdateDatapointsRequest']
_UPDATEDATAPOINTSREQUEST_DATAPOINTSENTRY = _UPDATEDATAPOINTSREQUEST.nested_types_by_name['DatapointsEntry']
_UPDATEDATAPOINTSREPLY = DESCRIPTOR.message_types_by_name['UpdateDatapointsReply']
_UPDATEDATAPOINTSREPLY_ERRORSENTRY = _UPDATEDATAPOINTSREPLY.nested_types_by_name['ErrorsEntry']
_STREAMDATAPOINTSREQUEST = DESCRIPTOR.message_types_by_name['StreamDatapointsRequest']
_STREAMDATAPOINTSREQUEST_DATAPOINTSENTRY = _STREAMDATAPOINTSREQUEST.nested_types_by_name['DatapointsEntry']
_STREAMDATAPOINTSREPLY = DESCRIPTOR.message_types_by_name['StreamDatapointsReply']
_STREAMDATAPOINTSREPLY_ERRORSENTRY = _STREAMDATAPOINTSREPLY.nested_types_by_name['ErrorsEntry']
_REGISTERDATAPOINTSREQUEST = DESCRIPTOR.message_types_by_name['RegisterDatapointsRequest']
_REGISTRATIONMETADATA = DESCRIPTOR.message_types_by_name['RegistrationMetadata']
_REGISTERDATAPOINTSREPLY = DESCRIPTOR.message_types_by_name['RegisterDatapointsReply']
_REGISTERDATAPOINTSREPLY_RESULTSENTRY = _REGISTERDATAPOINTSREPLY.nested_types_by_name['ResultsEntry']
UpdateDatapointsRequest = _reflection.GeneratedProtocolMessageType('UpdateDatapointsRequest', (_message.Message,), {

  'DatapointsEntry' : _reflection.GeneratedProtocolMessageType('DatapointsEntry', (_message.Message,), {
    'DESCRIPTOR' : _UPDATEDATAPOINTSREQUEST_DATAPOINTSENTRY,
    '__module__' : 'sdv.databroker.v1.collector_pb2'
    # @@protoc_insertion_point(class_scope:sdv.databroker.v1.UpdateDatapointsRequest.DatapointsEntry)
    })
  ,
  'DESCRIPTOR' : _UPDATEDATAPOINTSREQUEST,
  '__module__' : 'sdv.databroker.v1.collector_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.UpdateDatapointsRequest)
  })
_sym_db.RegisterMessage(UpdateDatapointsRequest)
_sym_db.RegisterMessage(UpdateDatapointsRequest.DatapointsEntry)

UpdateDatapointsReply = _reflection.GeneratedProtocolMessageType('UpdateDatapointsReply', (_message.Message,), {

  'ErrorsEntry' : _reflection.GeneratedProtocolMessageType('ErrorsEntry', (_message.Message,), {
    'DESCRIPTOR' : _UPDATEDATAPOINTSREPLY_ERRORSENTRY,
    '__module__' : 'sdv.databroker.v1.collector_pb2'
    # @@protoc_insertion_point(class_scope:sdv.databroker.v1.UpdateDatapointsReply.ErrorsEntry)
    })
  ,
  'DESCRIPTOR' : _UPDATEDATAPOINTSREPLY,
  '__module__' : 'sdv.databroker.v1.collector_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.UpdateDatapointsReply)
  })
_sym_db.RegisterMessage(UpdateDatapointsReply)
_sym_db.RegisterMessage(UpdateDatapointsReply.ErrorsEntry)

StreamDatapointsRequest = _reflection.GeneratedProtocolMessageType('StreamDatapointsRequest', (_message.Message,), {

  'DatapointsEntry' : _reflection.GeneratedProtocolMessageType('DatapointsEntry', (_message.Message,), {
    'DESCRIPTOR' : _STREAMDATAPOINTSREQUEST_DATAPOINTSENTRY,
    '__module__' : 'sdv.databroker.v1.collector_pb2'
    # @@protoc_insertion_point(class_scope:sdv.databroker.v1.StreamDatapointsRequest.DatapointsEntry)
    })
  ,
  'DESCRIPTOR' : _STREAMDATAPOINTSREQUEST,
  '__module__' : 'sdv.databroker.v1.collector_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.StreamDatapointsRequest)
  })
_sym_db.RegisterMessage(StreamDatapointsRequest)
_sym_db.RegisterMessage(StreamDatapointsRequest.DatapointsEntry)

StreamDatapointsReply = _reflection.GeneratedProtocolMessageType('StreamDatapointsReply', (_message.Message,), {

  'ErrorsEntry' : _reflection.GeneratedProtocolMessageType('ErrorsEntry', (_message.Message,), {
    'DESCRIPTOR' : _STREAMDATAPOINTSREPLY_ERRORSENTRY,
    '__module__' : 'sdv.databroker.v1.collector_pb2'
    # @@protoc_insertion_point(class_scope:sdv.databroker.v1.StreamDatapointsReply.ErrorsEntry)
    })
  ,
  'DESCRIPTOR' : _STREAMDATAPOINTSREPLY,
  '__module__' : 'sdv.databroker.v1.collector_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.StreamDatapointsReply)
  })
_sym_db.RegisterMessage(StreamDatapointsReply)
_sym_db.RegisterMessage(StreamDatapointsReply.ErrorsEntry)

RegisterDatapointsRequest = _reflection.GeneratedProtocolMessageType('RegisterDatapointsRequest', (_message.Message,), {
  'DESCRIPTOR' : _REGISTERDATAPOINTSREQUEST,
  '__module__' : 'sdv.databroker.v1.collector_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.RegisterDatapointsRequest)
  })
_sym_db.RegisterMessage(RegisterDatapointsRequest)

RegistrationMetadata = _reflection.GeneratedProtocolMessageType('RegistrationMetadata', (_message.Message,), {
  'DESCRIPTOR' : _REGISTRATIONMETADATA,
  '__module__' : 'sdv.databroker.v1.collector_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.RegistrationMetadata)
  })
_sym_db.RegisterMessage(RegistrationMetadata)

RegisterDatapointsReply = _reflection.GeneratedProtocolMessageType('RegisterDatapointsReply', (_message.Message,), {

  'ResultsEntry' : _reflection.GeneratedProtocolMessageType('ResultsEntry', (_message.Message,), {
    'DESCRIPTOR' : _REGISTERDATAPOINTSREPLY_RESULTSENTRY,
    '__module__' : 'sdv.databroker.v1.collector_pb2'
    # @@protoc_insertion_point(class_scope:sdv.databroker.v1.RegisterDatapointsReply.ResultsEntry)
    })
  ,
  'DESCRIPTOR' : _REGISTERDATAPOINTSREPLY,
  '__module__' : 'sdv.databroker.v1.collector_pb2'
  # @@protoc_insertion_point(class_scope:sdv.databroker.v1.RegisterDatapointsReply)
  })
_sym_db.RegisterMessage(RegisterDatapointsReply)
_sym_db.RegisterMessage(RegisterDatapointsReply.ResultsEntry)

_COLLECTOR = DESCRIPTOR.services_by_name['Collector']
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _UPDATEDATAPOINTSREQUEST_DATAPOINTSENTRY._options = None
  _UPDATEDATAPOINTSREQUEST_DATAPOINTSENTRY._serialized_options = b'8\001'
  _UPDATEDATAPOINTSREPLY_ERRORSENTRY._options = None
  _UPDATEDATAPOINTSREPLY_ERRORSENTRY._serialized_options = b'8\001'
  _STREAMDATAPOINTSREQUEST_DATAPOINTSENTRY._options = None
  _STREAMDATAPOINTSREQUEST_DATAPOINTSENTRY._serialized_options = b'8\001'
  _STREAMDATAPOINTSREPLY_ERRORSENTRY._options = None
  _STREAMDATAPOINTSREPLY_ERRORSENTRY._serialized_options = b'8\001'
  _REGISTERDATAPOINTSREPLY_RESULTSENTRY._options = None
  _REGISTERDATAPOINTSREPLY_RESULTSENTRY._serialized_options = b'8\001'
  _UPDATEDATAPOINTSREQUEST._serialized_start=88
  _UPDATEDATAPOINTSREQUEST._serialized_end=274
  _UPDATEDATAPOINTSREQUEST_DATAPOINTSENTRY._serialized_start=195
  _UPDATEDATAPOINTSREQUEST_DATAPOINTSENTRY._serialized_end=274
  _UPDATEDATAPOINTSREPLY._serialized_start=277
  _UPDATEDATAPOINTSREPLY._serialized_end=452
  _UPDATEDATAPOINTSREPLY_ERRORSENTRY._serialized_start=372
  _UPDATEDATAPOINTSREPLY_ERRORSENTRY._serialized_end=452
  _STREAMDATAPOINTSREQUEST._serialized_start=455
  _STREAMDATAPOINTSREQUEST._serialized_end=641
  _STREAMDATAPOINTSREQUEST_DATAPOINTSENTRY._serialized_start=195
  _STREAMDATAPOINTSREQUEST_DATAPOINTSENTRY._serialized_end=274
  _STREAMDATAPOINTSREPLY._serialized_start=644
  _STREAMDATAPOINTSREPLY._serialized_end=819
  _STREAMDATAPOINTSREPLY_ERRORSENTRY._serialized_start=372
  _STREAMDATAPOINTSREPLY_ERRORSENTRY._serialized_end=452
  _REGISTERDATAPOINTSREQUEST._serialized_start=821
  _REGISTERDATAPOINTSREQUEST._serialized_end=903
  _REGISTRATIONMETADATA._serialized_start=906
  _REGISTRATIONMETADATA._serialized_end=1063
  _REGISTERDATAPOINTSREPLY._serialized_start=1066
  _REGISTERDATAPOINTSREPLY._serialized_end=1213
  _REGISTERDATAPOINTSREPLY_RESULTSENTRY._serialized_start=1167
  _REGISTERDATAPOINTSREPLY_RESULTSENTRY._serialized_end=1213
  _COLLECTOR._serialized_start=1216
  _COLLECTOR._serialized_end=1555
# @@protoc_insertion_point(module_scope)
